package com.ygl.dao;

import com.ygl.common.mybatis.BaseDao;
import com.ygl.entity.ItemDescEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author： ygl
 * @date： 2019/02/04
 * @Description：
 */
@Mapper
public interface ItemDescDao extends BaseDao {
    @Select(" SELECT id AS id , itemDesc as itemDesc , created as created,updated as updated  FROM tb_item_desc  where id=#{id} ")
    public ItemDescEntity getItemDesc(@Param("id") Long id);
}

